package com.indusfo.spc.mapper;

import com.indusfo.spc.pojo.PlanExchange;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * @Author 熊冰
 * @Date 2019/11/11 10:18
 * 任务单维修工序
 */
public interface PlanExchangeMapper {
    //增加
    int insertPlanExchange(PlanExchange planExchange);
    //更新
    int updatePlanExchange(PlanExchange planExchange);
    //查询
    List<PlanExchange> queryPlanExchange(PlanExchange planExchange);
    //总数
    int countPlanExchange(PlanExchange planExchange);
    //判重
    int checkPlanExchange(PlanExchange planExchange);
    //删除
    int deletePlanExchange(@Param("planExchangeIds") List<Integer> planExchangeIds, @Param("dataState") Integer dataState);

}